package com.gzx.plugin.tjzy.modular.trace.vo;


import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import com.fhs.core.trans.vo.TransPojo;
import com.gzx.plugin.tjzy.modular.trace.entity.GzxTracePlan;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 跟进计划通知 gzx_trace_plan
 *
 * @author xbl
 * &#064;date  2025-03-21
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = GzxTracePlan.class)
public class GzxTracePlanVo implements Serializable, TransPojo {
    /**
     * 自增主键
     */
    private long id;

    /**
     * 案件id
     */
    private String caseId;

    /**
     * 跟进人名称
     */
    private String traceName;

    /**
     * 跟进人id
     */
    private String traceUser;

    /**
     * 下次跟进时间
     */
    private Date nextTraceTime;

    /**
     * 跟进备注
     */
    private String traceRemark;
    /**
     * 应催总金额
     */
    private BigDecimal cleanLoanAmount;

    /**
     * 通知状态(0：未通知；1：已通知)
     */
    private int noticeStatus;

    /**
     * 读取状态 (0：未读；1：已读)
     */
    private int readStatus;

    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 创建人姓名
     */
    @Trans(type = TransType.RPC, targetClassName = "vip.xiaonuo.sys.modular.user.entity.SysUser", fields = "name", alias = "createUser", ref = "createUserName", serviceName = "snowy-web-app")
    private String createUser;
    private String createUserName;

}
